﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="frmLimiteGlobalBnd.aspx.vb" Inherits="kplusWeb.frmLimiteGlobalBnd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>

</head>
<body>
<form id="form1" runat="server">
    <table class="tbPopup" width="100%">
    <tr >
        <th colspan="2" align="center"  >
            <asp:Label ID="lblTitulo" runat="server"  Text="<%$Resources:General, PHistorico%>"  />
        </th>
    </tr>    

    <tr><td align="center" >
    <table style="width: 90%">

    <tr>
    <td>
        <table style="width: 100%">
        <tr>
        <td align="left" >
        <asp:Label ID="lblPeriodo" runat="server" Font-Size="12px"  Text="Periodo" />
        
            <asp:DropDownList ID="ddlMesHistLimGlobal" runat="server" AutoPostBack="True">
            
            </asp:DropDownList>
            <asp:DropDownList ID="ddlAnhioHistLimitGlobal" runat="server" 
                style="margin-left: 0px" AutoPostBack="True">
            </asp:DropDownList>
            
            </td>  
      
        <td align="right"><asp:Label ID="lblNumeroRegistros" runat="server" 
                Font-Size="12px"  Text="Número de registros: " />
              </td>
              <td>
                  <asp:Label ID="lblNumRegistro" runat="server"></asp:Label>
            </td>
              
        </tr>
        </table>
        </td>  
    </tr>
    
    <tr>
    <td>      
         <asp:GridView ID="gvwHistorialLimiteGlobal" runat="server" 
             AutoGenerateColumns="False" CssClass="tbBasicaVerde">
             <Columns>                                                      
                   <asp:TemplateField HeaderText="Periodo" >
                        <ItemTemplate>
                                <asp:Label ID="lblPeriodoMEs" runat="server" Text='<%# Eval("PeriodoMes" ) %>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fLetra" />
                  </asp:TemplateField>   
                  <asp:TemplateField HeaderText="Versión" >
                        <ItemTemplate>
                                <asp:Label ID="lblVersion" runat="server" Text='<%# Eval("NumVersion" ) %>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fNumero" />
                 </asp:TemplateField>                                              
                  <asp:TemplateField HeaderText="Limite Global" >
                        <ItemTemplate>
                                <asp:Label ID="lblPctLimiteGlobal" runat="server" Text='<%# FormatoValorMinimo(Eval("PctLimiteGlobal") ) %>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fNumero" />
                 </asp:TemplateField>                  
                 <asp:TemplateField HeaderText="Usuario" >
                        <ItemTemplate>
                                <asp:Label ID="lblUsuario" runat="server" Text='<%# Eval("CodUsrRegistro" ) %>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fLetra" />
                 </asp:TemplateField>                  
                 <asp:TemplateField HeaderText="Fecha" >
                        <ItemTemplate>
                                <asp:Label ID="lblFechaRegistro" runat="server" Text='<%# FormatoFecha(Eval("FecRegistro" ) )%>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fLetra" />
                 </asp:TemplateField>                  
                 <asp:TemplateField HeaderText="Tipo Registro" >
                        <ItemTemplate>
                                <asp:Label ID="lblTipoRegistro" runat="server" Text='<%# FormatoTipoOperacion("TipoOperacion" ) %>'  />
                        </ItemTemplate>                             
                        <ItemStyle CssClass="fLetra" />
                 </asp:TemplateField>                  
                 
                
             </Columns>
         </asp:GridView>    
    </td>
    </tr>
   
    </table> 
    
   </td> </tr> 
   <tr><td></td></tr>
   </table> 
    </form>
</body>
</html>
